package cn.zgwj.org.mapper;

import cn.zgwj.basic.mapper.BaseMapper;
import cn.zgwj.org.domain.Employee;


/**
 * 操作数据库层的接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    //1.基础的CRUD接口通过继承得到

    //2.扩展的业务接口这里自己写

    /**
     * 根据用户名查询用户
     * @param username
     * @return
     */
    Employee loadByUserName(String username);

    Employee loadByLogininfoId(Long id);
}

